package com.tommy.store.http;

import java.util.HashMap;
import java.util.Map;

public class ApiConst {

    public static Map<String, String[]> urlMap = new HashMap<String, String[]>() {
        {
            put("access_token", new String[] { "/oauth/access_token", "POST" });
            put("users_info", new String[] { "/oauth/users/info", "GET" });
            put("user_getDriveInfo", new String[] { "/adrive/v1.0/user/getDriveInfo", "POST" });
            put("openFile_list", new String[] { "/adrive/v1.0/openFile/list", "POST" });
            put("openFile_get", new String[] { "/adrive/v1.0/openFile/get", "POST" });
            put("openFile_getDownloadUrl", new String[] { "/adrive/v1.0/openFile/getDownloadUrl", "POST" });

            put("openFile_create", new String[] { "/adrive/v1.0/openFile/create", "POST" });
            put("openFile_complete", new String[] { "/adrive/v1.0/openFile/complete", "POST" });

        }
    };

    public static String[] users_info = { "/oauth/users/info", "GET" };
    public static String[] user_getDriveInfo = { "/adrive/v1.0/user/getDriveInfo", "POST" };
    public static String[] openFile_list = { "/adrive/v1.0/openFile/list", "POST" };
    public static String[] openFile_get = { "/adrive/v1.0/openFile/get", "POST" };
    public static String[] openFile_getDownloadUrl = { "/adrive/v1.0/openFile/getDownloadUrl", "POST" };
}
